package cn.dt70.utils;

import java.util.UUID;

public class Constants {
	public final static String USER_SESSION = "userSession";
	public final static String DEV_USER_SESSION = "devUserSession";
	public final static String SYS_MESSAGE = "message";
	public final static int pageSize = 3;
	public final static String FILEUPLOAD_ERROR_1 = " * APK信息不完整！";
	public final static String FILEUPLOAD_ERROR_2 = " * 上传失败！";
	public final static String FILEUPLOAD_ERROR_3 = " * 上传文件格式不正确！";
	public final static String FILEUPLOAD_ERROR_4 = " * 上传文件过大！";
	//保存路径
	public final static String logoLocPath="/statics/upload_pic/";
	//磁盘路径
	public final static String logoPicPath="F:\\aqb_sys\\aqb\\src\\main\\webapp\\statics\\upload_pic";

	//生成指定位数的加息码
	public static String getUUID(int num){
		return UUID.randomUUID().toString().substring(0,num).toUpperCase();
	}
}
